package com.ryan.mms.privilage.dao;

import java.io.Serializable;
import java.util.List;

import com.ryan.framework.dao.BaseHibernateDao;
import com.ryan.framework.model.Model;
import com.ryan.framework.tag.pagination.Page;

public interface OperatorDao<M extends Model,PK extends Serializable> extends BaseHibernateDao<M,Long>{
	public M findByLoginNameAndPassword(M Operator);
	public List<M> findByOperator(M Operator);
	public List<M> findByOperator(Page page,M Operator);
	public void deleteByOperatorIds(List<Long> pks);
	public void deleteByOperatorIds(String pks);
	public List<String> getPksList(List<PK> pkList);
}
